package com.bugbuff.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 语音对象实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voice")
public class Voice implements Serializable {

    private static final long serialVersionUID = -3136734578934933873L;
    private ObjectId id; //主键id
    private Long vid; //自增长id
    private Long userId;
    private String text; //文字
    private String voiceUrl; //视频文件
    private Long created; //创建时间
    private String longitude; //经度
    private String latitude; //纬度
    private String locationName; //位置名称

}
